remote watch list
scrapbox-watchlist-sync使

scrapbox projectid
private project
watch list使

idlastAccessed
const res = await fetch("https://scrapbox.io/files/644c4cfafb7a14001be4ea02.json");
const json = await res.json();
const prev = JSON.parse(localStorage.getItem("projectsLastAccessed"));
//
const newData = [...Object.keys(json), ...Object.keys(prev)]
.map((key) => [key, Math.max(json[key] ?? 0, prev[key] ?? 0)]);
localStorage.setItem("projectsLastAccessed", JSON.stringify(Object.fromEntries(newData)));
const blob = new Blob(
[localStorage.getItem("projectsLastAccessed")],
{ type: "application/json" },
);
const a = document.createElement("a");
a.href = URL.createObjectURL(blob);
a.download = "projectsLastAccessed.json";
document.body.append(a);
a.click();
a.remove();


#2024-05-03 14:48:07
#2023-04-29 07:48:49
#2023-03-17 06:22:33
#2022-12-14 09:43:59
#2022-11-28 22:13:47
#2022-11-22 09:54:41
#2021-12-22 11:40:22